/*
 * undressingUS.love - Main Stylesheet
 * US-themed AI undressing tool website
 */

:root {
    --primary: #003f87;     /* American blue */
    --secondary: #b31942;   /* American red */
    --accent: #f0f0f0;      /* Light gray */
    --dark: #111827;
    --light: #ffffff;
    --gray: #f5f7fa;
    --text-dark: #1f2937;
    --text-light: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

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

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    color: var(--text-dark);
}

.section-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #6b7280;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Page Container */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.sticky {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.98);
}

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

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

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

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

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

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

.nav-button {
    padding: 10px 20px;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    color: white;
}

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

.menu-toggle-bar {
    height: 3px;
    width: 100%;
    background: var(--gradient);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.menu-toggle-bar::before,
.menu-toggle-bar::after {
    content: '';
    height: 3px;
    width: 100%;
    background: var(--gradient);
    position: absolute;
    transition: var(--transition);
}

.menu-toggle-bar::before {
    transform: translateY(-8px);
}

.menu-toggle-bar::after {
    transform: translateY(8px);
}

.menu-toggle.active .menu-toggle-bar {
    background: transparent;
}

.menu-toggle.active .menu-toggle-bar::before {
    transform: rotate(45deg);
}

.menu-toggle.active .menu-toggle-bar::after {
    transform: rotate(-45deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    overflow: hidden;
}

.waves-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100%;
    background: var(--gray);
    top: -10%;
    left: 0;
    opacity: 0.5;
    border-radius: 50%;
}

.wave1 {
    animation: wave 20s linear infinite;
    z-index: 1;
    opacity: 0.3;
    background: linear-gradient(45deg, rgba(0, 63, 135, 0.05), rgba(179, 25, 66, 0.05));
}

.wave2 {
    animation: wave 15s linear infinite;
    z-index: 2;
    opacity: 0.2;
    background: linear-gradient(-45deg, rgba(0, 63, 135, 0.05), rgba(179, 25, 66, 0.05));
}

@keyframes wave {
    0% { transform: translateX(0) translateZ(0) scaleY(1); }
    50% { transform: translateX(-25%) translateZ(0) scaleY(0.8); }
    100% { transform: translateX(-50%) translateZ(0) scaleY(1); }
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 35px;
    color: #6b7280;
    max-width: 500px;
}

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

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

.hero-shape {
    width: 350px;
    height: 350px;
    background: var(--gradient);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: morph 8s ease-in-out infinite;
    opacity: 0.15;
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    50% { border-radius: 30% 70% 70% 30% / 70% 70% 30% 30%; }
    75% { border-radius: 70% 30% 30% 70% / 30% 30% 70% 70%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.1;
}

.fe-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.fe-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 20%;
    animation: float 12s ease-in-out infinite;
}

.fe-3 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 10%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(15px, 15px); }
    100% { transform: translate(0, 0); }
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.button-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: white;
}

.button-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary);
}

.button-secondary:hover {
    background: rgba(0, 63, 135, 0.05);
    transform: translateY(-3px);
}

.button-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Trust Section */
.trust-section {
    padding: 80px 0;
    background-color: var(--light);
    margin-top: -50px;
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    min-width: 250px;
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
}

.trust-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.trust-info p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--gray);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.about-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.about-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.about-card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.about-card-header svg {
    color: var(--secondary);
    width: 32px;
    height: 32px;
}

.about-card p {
    color: #6b7280;
}

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

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

.feature-item {
    padding: 30px;
    background: var(--gray);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.feature-item h3 {
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 1.3rem;
}

.feature-item p {
    color: #6b7280;
    font-size: 0.95rem;
}

/* How It Works Section */
.how-section {
    padding: 100px 0;
    background-color: var(--gray);
}

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

.step {
    display: flex;
    gap: 25px;
    margin-bottom: 50px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.step-number {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.step-content p {
    color: #6b7280;
}

.cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Testimonial Section */
.testimonial-section {
    padding: 100px 0;
    background: var(--gradient);
    color: white;
}

.testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    position: relative;
}

.testimonial-quote {
    font-size: 5rem;
    font-family: Georgia, serif;
    line-height: 1;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 300;
}

.testimonial-author {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.testimonial-rating {
    color: #f8c300;
    font-size: 1.5rem;
    letter-spacing: 5px;
}

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

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

.faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-question {
    padding: 20px;
    background: var(--gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    transition: var(--transition);
}

.faq-icon::before {
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 100%;
}

.faq-item.active .faq-question {
    background: var(--primary);
    color: white;
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
    background-color: white;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    background: white;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 300px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: var(--gray);
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    max-width: 700px;
    margin: 0 auto 15px;
    line-height: 1.2;
}

.cta-section p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto 40px;
}

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

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

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

.footer-icon {
    width: 60px;
    height: 60px;
}

.footer-brand h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

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

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

.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-top: 30px;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.keywords {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-container {
        flex-direction: column;
    }
    
    .hero-visual {
        margin-top: 50px;
    }
    
    .about-content,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .about-content,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .trust-grid {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        gap: 30px;
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
}
