/* 
 * Main styles for ai-undressing.pw
 * Dutch website with optimized SEO and mobile-responsive design
 */

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

:root {
    --primary-color: #00a2ff;
    --secondary-color: #7028e4;
    --dark-color: #1a1a2e;
    --light-color: #f0f8ff;
    --text-color: #333;
    --text-light: #666;
    --gradient-bg: linear-gradient(135deg, #00a2ff 0%, #7028e4 100%);
    --box-shadow: 0 5px 20px rgba(0, 162, 255, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

h1 {
    font-size: 4rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 3.2rem;
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 4rem;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 3px;
    background: var(--gradient-bg);
    border-radius: 2px;
}

h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Layout & Sections */
.header-container, 
.hero-content,
.benefits-grid,
.steps-container,
.accordion,
.footer-top,
.footer-bottom {
    max-width: 120rem;
    width: 90%;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
    position: relative;
}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 0;
}

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

.logo-container {
    flex: 0 0 200px;
}

.logo-svg {
    width: 100%;
    height: 60px;
}

.main-nav ul {
    display: flex;
    gap: 3rem;
}

.main-nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 5rem;
    font-size: 1.7rem;
    transition: var(--transition);
}

.main-nav ul li a:hover {
    background-color: rgba(0, 162, 255, 0.1);
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 3.5rem;
    height: 3rem;
    position: relative;
    z-index: 1010;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    margin: 6px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    padding-top: 16rem;
    padding-bottom: 8rem;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60rem;
    height: 60rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,162,255,0.05) 0%, rgba(112,40,228,0.02) 70%, rgba(240,248,255,0) 100%);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 60rem;
    height: 60rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(112,40,228,0.05) 0%, rgba(0,162,255,0.02) 70%, rgba(240,248,255,0) 100%);
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-visual {
    width: 100%;
    max-width: 50rem;
    justify-self: center;
}

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

.cta-wrapper {
    margin-top: 4rem;
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 3rem;
    background: var(--gradient-bg);
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    border-radius: 5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(0, 162, 255, 0.4);
    transition: all 0.4s ease;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 162, 255, 0.6);
    color: white;
}

/* Benefits Section */
.benefits-section {
    background-color: #fff;
    padding: 10rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3.5rem;
    margin-top: 5rem;
}

.benefit-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 162, 255, 0.2);
}

.benefit-icon {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 2.5rem;
}

/* How It Works */
.how-it-works {
    background-color: var(--light-color);
    padding: 10rem 0;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100rem;
    margin: 5rem auto;
}

.step-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 3.5rem 3rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    flex: 1;
    min-width: 25rem;
    position: relative;
    z-index: 1;
}

.step-arrow {
    width: 5rem;
    margin: 0 1rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--gradient-bg);
    color: white;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 auto 2rem;
}

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

/* FAQ Section */
.faq-section {
    background-color: #fff;
    padding: 10rem 0;
}

.accordion {
    max-width: 80rem;
    margin: 5rem auto 0;
}

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

.accordion-header {
    padding: 2rem 2.5rem;
    background: white;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    position: relative;
}

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

.accordion-header::after {
    content: '+';
    font-size: 2.4rem;
}

.accordion-item.active .accordion-header::after {
    content: '−';
}

.accordion-content {
    padding: 0 2.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.accordion-item.active .accordion-content {
    padding: 0 2.5rem 2.5rem;
    max-height: 1000px;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo-footer {
    width: 180px;
    height: 60px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 3rem;
    height: 2px;
    background: var(--primary-color);
}

.footer-section ul li {
    margin-bottom: 1.2rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-section ul li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
}

.footer-brand-icon {
    width: 40px;
    height: 40px;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    html {
        font-size: 56.25%;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        grid-row: 1;
        margin-bottom: 3rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 40rem;
        height: 100vh;
        background-color: white;
        padding: 8rem 3rem 3rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 2rem;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 1rem 0;
        font-size: 2rem;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-card {
        margin-bottom: 3rem;
        width: 100%;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    h1 {
        font-size: 3.4rem;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
