/*
   Main CSS for freeaipornmaker.site
   Purple and Indigo color scheme with modern, clean design
*/

:root {
    --primary: #9C27B0;
    --primary-dark: #7B1FA2;
    --primary-light: #CE93D8;
    --secondary: #3F51B5;
    --secondary-dark: #303F9F;
    --secondary-light: #7986CB;
    --text-dark: #212121;
    --text-medium: #424242;
    --text-light: #757575;
    --white: #FFFFFF;
    --off-white: #F5F5F5;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.16);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

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

ul {
    list-style: none;
}

.app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

.accent-text {
    color: var(--primary);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Animation Classes */
.reveal-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.6s;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.primary-btn {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.primary-btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.outline-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.large {
    padding: 1rem 2.25rem;
    font-size: 1.125rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(156, 39, 176, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(156, 39, 176, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(156, 39, 176, 0);
    }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.site-logo {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
}

.logo-wrapper h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary);
    font-weight: 700;
}

.main-nav {
    display: flex;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links li a {
    color: var(--text-medium);
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

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

.nav-links li a:hover {
    color: var(--primary);
}

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

.nav-cta a {
    background-color: var(--secondary);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
}

.nav-cta a:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
}

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

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--primary);
    transition: var(--transition);
}

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

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

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

/* Hero Section */
.hero {
    padding: 5rem 0;
    background-color: var(--gray-100);
    overflow: hidden;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

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

.hero-illustration {
    width: 100%;
    height: auto;
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.1));
}

.stats-bar {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-medium);
    font-weight: 500;
}

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

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

.feature-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    background-color: var(--white);
    border: 1px solid var(--gray-200);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

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

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

.workflow-visual {
    margin-top: 4rem;
    margin-bottom: 3rem;
}

.workflow-illustration {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

.cta-center {
    text-align: center;
}

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

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

.showcase-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.showcase-visual {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.showcase-item h3 {
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 0;
    background-color: var(--gray-100);
}

.showcase-cta {
    background-color: var(--gray-100);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.showcase-cta p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background-color: var(--gray-100);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 0;
    color: var(--text-light);
}

/* Final CTA Section */
.final-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--primary-light) 100%);
}

.cta-box {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
}

/* Footer */
.site-footer {
    background-color: var(--text-dark);
    color: var(--gray-300);
    padding: 4rem 0 2rem;
}

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

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

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

.footer-brand p {
    margin-bottom: 0;
    font-size: 1rem;
}

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

.footer-column h3 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: var(--gray-300);
    transition: var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.disclaimer {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Media Queries */
@media (max-width: 992px) {
    h2 {
        font-size: 2.25rem;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .stats-bar {
        margin-top: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 2.25rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
        z-index: 1000;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links li {
        margin: 1.25rem 0;
    }
    
    .step {
        flex-direction: column;
        padding: 1.5rem;
        align-items: center;
        text-align: center;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        width: 100%;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-buttons .outline-btn {
        margin-top: 1rem;
    }
    
    .stats-bar {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
    }
}
