/*
   Main CSS for pornimageaigeneratorfree.site
   Modern, clean design with blue and orange accents
*/

:root {
    --primary: #1E88E5;
    --primary-dark: #1565C0;
    --primary-light: #64B5F6;
    --accent: #FF8A65;
    --accent-dark: #F4511E;
    --accent-light: #FFAB91;
    --dark: #263238;
    --gray-dark: #455A64;
    --gray: #90A4AE;
    --gray-light: #ECEFF1;
    --white: #FFFFFF;
    --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.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

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

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

.wrapper {
    overflow-x: hidden;
    position: relative;
}

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

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

h1 {
    font-size: 1.75rem;
}

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

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: var(--accent-light);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--gray-dark);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

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

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

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

.secondary-btn:hover {
    background-color: rgba(30, 136, 229, 0.1);
    color: var(--primary-dark);
}

.large-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0.4);
    }
    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(30, 136, 229, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(30, 136, 229, 0);
    }
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

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

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

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

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--gray-dark);
    font-weight: 500;
    position: relative;
}

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

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

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

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

.nav-cta a::after {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 101;
}

.menu-icon div {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.menu-icon.active .bar1 {
    transform: translateY(9px) rotate(45deg);
}

.menu-icon.active .bar2 {
    opacity: 0;
}

.menu-icon.active .bar3 {
    transform: translateY(-10px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(30, 136, 229, 0.05) 0%, rgba(255, 138, 101, 0.05) 100%);
}

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

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

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

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

.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-svg {
    width: 100%;
    max-width: 500px;
}

.highlight-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--gray-dark);
    font-size: 1rem;
}

/* Generator Section */
.generator {
    padding: 5rem 0;
    text-align: center;
}

.generator-preview {
    background-color: var(--gray-light);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-top: 3rem;
}

.preview-svg {
    width: 100%;
    max-width: 800px;
    margin-bottom: 2rem;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background-color: rgba(30, 136, 229, 0.05);
}

.steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.step:last-child {
    margin-bottom: 0;
}

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

.step-content {
    padding-top: 0.5rem;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

/* Samples Section */
.samples {
    padding: 5rem 0;
}

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

.sample {
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-align: center;
    padding: 1rem;
    background-color: var(--white);
}

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

.sample-svg {
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem;
}

.sample p {
    font-weight: 500;
    margin-bottom: 0;
    color: var(--primary-dark);
}

.sample-cta {
    text-align: center;
    padding: 2rem;
    background-color: var(--gray-light);
    border-radius: var(--radius-md);
}

.sample-cta p {
    margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq {
    padding: 5rem 0;
    background-color: rgba(255, 138, 101, 0.05);
}

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

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    background-color: var(--white);
    overflow: hidden;
}

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

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

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

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

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin-bottom: 0;
}

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

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
}

.cta-section h2 {
    color: var(--white);
}

.cta-section .highlight {
    color: var(--white);
}

.cta-section .highlight::after {
    background-color: rgba(255, 255, 255, 0.3);
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-section .primary-btn {
    background-color: var(--white);
    color: var(--primary);
}

.cta-section .primary-btn:hover {
    background-color: var(--gray-light);
}

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

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

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

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

.footer-brand p {
    margin-bottom: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.footer-column h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

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

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

.footer-column ul li a {
    color: var(--gray-light);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--accent);
    opacity: 1;
}

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

.disclaimer {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

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

/* Media Queries */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2.3rem;
    }
    
    .menu-icon {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: var(--shadow-lg);
    }
    
    nav.active {
        transform: translateX(0);
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav ul li {
        margin: 1rem 0;
        width: 100%;
        text-align: center;
    }
    
    .highlight-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .btn {
        display: block;
        width: 100%;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .secondary-btn {
        margin-top: 0.5rem;
    }
}
