/* 
   freenudeai.works Main Stylesheet
   Modern, clean design with green-blue gradient theme
   Fully responsive for all device sizes
*/

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

:root {
    /* Main Colors */
    --primary-color: #20BF55;
    --secondary-color: #01BAEF;
    --dark-color: #0B2027;
    --light-color: #F8F9FA;
    --gray-color: #495057;
    
    /* Gradients */
    --main-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --reverse-gradient: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    
    /* Fonts */
    --main-font: 'Montserrat', sans-serif;
    --heading-weight: 700;
    --subheading-weight: 600;
    --body-weight: 400;
    
    /* Spacing */
    --section-padding: 5rem 1rem;
    --container-width: 1200px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-font);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    font-size: 16px;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.highlight {
    color: var(--primary-color);
    font-weight: var(--heading-weight);
}

/* ---- Common Elements & Utilities ---- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    font-weight: var(--heading-weight);
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--main-gradient);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Buttons */
.primary-btn, .secondary-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: var(--subheading-weight);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
}

.primary-btn {
    background: var(--main-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(32, 191, 85, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(32, 191, 85, 0.6);
}

.secondary-btn {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.secondary-btn:hover {
    background-color: rgba(1, 186, 239, 0.1);
    transform: translateY(-3px);
}

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

/* ---- Header & Navigation ---- */
.site-header {
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: var(--heading-weight);
    color: var(--dark-color);
}

.logo h1 span {
    color: var(--secondary-color);
    font-weight: var(--body-weight);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

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

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

.menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.menu-btn .bar {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-btn .bar:nth-child(1) {
    top: 0;
}

.menu-btn .bar:nth-child(2) {
    top: 8px;
}

.menu-btn .bar:nth-child(3) {
    top: 16px;
}

.menu-btn.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-btn.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-btn.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ---- Hero Section ---- */
.hero {
    padding: 6rem 1rem;
    background: linear-gradient(rgba(11, 32, 39, 0.02), rgba(11, 32, 39, 0.05));
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    perspective: 1000px;
}

.hero-graphic svg {
    transform: rotateY(-10deg) rotateX(5deg);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.5s ease;
}

.hero-graphic svg:hover {
    transform: rotateY(-5deg) rotateX(2deg);
}

/* ---- Features Section ---- */
.features-section {
    padding: var(--section-padding);
    background-color: white;
}

.features-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

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

.feature-item {
    padding: 2rem;
    border-radius: 16px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
    font-weight: var(--subheading-weight);
}

/* ---- How It Works Section ---- */
.how-it-works {
    padding: var(--section-padding);
    background: linear-gradient(rgba(1, 186, 239, 0.03), rgba(32, 191, 85, 0.03));
}

.hiw-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 3rem;
}

.step {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

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

.step-content h3 {
    margin-bottom: 0.5rem;
    font-weight: var(--subheading-weight);
}

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

/* ---- Showcase Section ---- */
.showcase-section {
    padding: var(--section-padding);
    background-color: white;
}

.showcase-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.showcase-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.showcase-text {
    flex: 1;
}

.showcase-text h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: var(--subheading-weight);
}

.check-list {
    margin-bottom: 1.5rem;
}

.check-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.showcase-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* ---- FAQ Section ---- */
.faq-section {
    padding: var(--section-padding);
    background: linear-gradient(rgba(32, 191, 85, 0.03), rgba(1, 186, 239, 0.03));
}

.faq-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    margin-bottom: 0.8rem;
    font-weight: var(--subheading-weight);
    color: var(--secondary-color);
}

/* ---- Final CTA Section ---- */
.final-cta {
    padding: var(--section-padding);
    background: var(--dark-color);
    color: white;
    text-align: center;
}

.cta-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.8;
}

/* ---- Footer ---- */
.site-footer {
    padding: 4rem 1rem 2rem;
    background: var(--dark-color);
    color: white;
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-brand {
    font-size: 1.5rem;
    font-weight: var(--subheading-weight);
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col h3 {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
    color: white;
}

.footer-disclaimer {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.footer-copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.5;
}

/* ---- Responsive Styling ---- */
@media (max-width: 992px) {
    :root {
        --section-padding: 4rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-container, .showcase-content {
        flex-direction: column;
    }
    
    .hero-graphic {
        justify-content: center;
    }
    
    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .final-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        gap: 2rem;
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .primary-btn, .secondary-btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
