/* 
 * aiclothingremoverIT.site - Italian AI Clothing Remover Tool
 * Primary colors inspired by Italian flag: 
 * - Green: #009246
 * - White: #FFFFFF
 * - Red: #CE2B37
 */

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #009246, #CE2B37);
    margin: 15px auto 0;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

h1 {
    font-size: 1.5rem;
    color: #333;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    font-weight: 500;
    color: #333;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #009246, #CE2B37);
    transition: width 0.3s ease;
}

nav a:hover {
    color: #009246;
}

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

.nav-btn {
    background-color: #CE2B37;
    color: white !important;
    padding: 8px 18px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background-color: #b82532;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(206, 43, 55, 0.3);
}

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

.menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.hamburger .line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    margin: 6px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 146, 70, 0.05) 0%, rgba(206, 43, 55, 0.05) 100%);
    z-index: -1;
}

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

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

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #009246, #CE2B37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.primary-btn {
    background: linear-gradient(to right, #009246, #027e3c);
    color: white;
    box-shadow: 0 5px 20px rgba(0, 146, 70, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 146, 70, 0.4);
}

.outline-btn {
    background: transparent;
    color: #CE2B37;
    border: 2px solid #CE2B37;
}

.outline-btn:hover {
    background-color: #CE2B37;
    color: white;
    transform: translateY(-3px);
}

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

.trust-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

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

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

.features::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 146, 70, 0.05), transparent);
    z-index: 1;
}

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

.feature-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, #009246, #CE2B37) 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon.green {
    background-color: rgba(0, 146, 70, 0.1);
}

.feature-icon.red {
    background-color: rgba(206, 43, 55, 0.1);
}

.feature-icon.white {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #eee;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

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

.steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: 50px;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #009246, #CE2B37);
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-arrow {
    display: flex;
    align-items: center;
    margin: 0 -10px;
    padding-top: 30px;
}

.step h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.step p {
    color: #666;
    font-size: 0.95rem;
}

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

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

.cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.cta .btn {
    background-color: white;
    color: #333;
}

.cta .btn:hover {
    background-color: #f5f5f5;
    color: #009246;
    transform: translateY(-3px);
}

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

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

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: #fff;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    background-color: #f9f9f9;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Footer */
footer {
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    padding: 70px 0 20px;
    color: #666;
}

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

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

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

.footer-brand p {
    font-size: 0.9rem;
    color: #888;
}

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

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
    position: relative;
}

.link-group h4:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(to right, #009246, #CE2B37);
}

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

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

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

.footer-bottom {
    border-top: 1px solid #eee;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        grid-row: 1;
        margin-bottom: 30px;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .step-arrow {
        display: none;
    }
    
    .footer-links {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .hamburger {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        padding: 80px 30px 30px;
        transition: all 0.4s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    nav ul {
        flex-direction: column;
        gap: 25px;
    }
    
    .menu-toggle:checked ~ nav {
        right: 0;
    }
    
    .menu-toggle:checked + .hamburger .line:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle:checked + .hamburger .line:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked + .hamburger .line:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .link-group h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}
