/* 
   Main stylesheet for freeaipornimagegenerator.love
   Color scheme: purple/blue gradients with dark background
   Layout: Modern, card-based with generous spacing
*/

:root {
    --primary-gradient: linear-gradient(90deg, #21D4FD 0%, #B721FF 100%);
    --primary-color: #B721FF;
    --secondary-color: #21D4FD;
    --dark-bg: #121212;
    --card-bg: #1E1E1E;
    --text-color: #FFFFFF;
    --text-muted: #AAAAAA;
    --accent-color: #FF6B81;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 1.8rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary-gradient);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(183, 33, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(183, 33, 255, 0.4);
    color: white;
}

/* Header */
header {
    padding: 20px 0;
    background-color: rgba(18, 18, 18, 0.9);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

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

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

.logo-svg {
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

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

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

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

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

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin-bottom: 5px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

.menu-toggle span:last-child {
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    padding: 100px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(183, 33, 255, 0.2) 0%, rgba(18, 18, 18, 0) 70%);
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(33, 212, 253, 0.2) 0%, rgba(18, 18, 18, 0) 70%);
    z-index: -1;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-graphic {
    max-width: 700px;
    margin: 40px auto 0;
}

/* Generator Section */
.generator {
    padding: 80px 0;
    background-color: rgba(30, 30, 30, 0.5);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
}

.generator-demo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.generator-input {
    flex: 1;
    text-align: center;
}

.generator-input h3 {
    margin-bottom: 15px;
}

.generator-input p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.generator-preview {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .generator-demo {
        flex-direction: column;
        padding: 30px;
    }
    
    .generator-input, .generator-preview {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--dark-bg);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    nav.active ul {
        display: flex;
    }
    
    nav ul li {
        margin: 15px 0;
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 2.3rem;
    }
}

@media screen and (max-width: 576px) {
    .logo h1 {
        font-size: 1.1rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(183, 33, 255, 0.1) 0%, rgba(18, 18, 18, 0) 70%);
    z-index: 0;
}

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

.feature-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(33, 212, 253, 0.2);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

.feature-cta {
    text-align: center;
    margin-top: 50px;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: rgba(30, 30, 30, 0.5);
}

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

.faq-item {
    margin-bottom: 20px;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(33, 212, 253, 0.15);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    padding-right: 30px;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

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

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 60px 0 20px;
    background-color: #0A0A0A;
    color: var(--text-muted);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.footer-icon {
    margin-right: 15px;
}

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

.footer-nav h4,
.footer-legal h4 {
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-nav h4::after,
.footer-legal h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-gradient);
}

.footer-nav ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a,
.footer-legal ul li a {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-nav ul li a:hover,
.footer-legal ul li a:hover {
    color: var(--secondary-color);
}

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

@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        width: 100%;
        gap: 30px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}
