/* Base Styles */
:root {
    --primary: #8E44AD;
    --secondary: #2ECC71;
    --dark: #121212;
    --darker: #0A0A0A;
    --light: #FFFFFF;
    --gray: #999999;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    --border-radius: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--dark);
    overflow-x: hidden;
}

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

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

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

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

h3 {
    font-size: 1.8rem;
    margin-bottom: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

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

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--light);
}

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

.btn-outline:hover {
    background: var(--gradient);
    color: var(--light);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.95);
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    height: 80px;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-link {
    color: var(--light);
    padding: 0 20px;
    font-weight: 500;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    background: var(--darker);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, rgba(142, 68, 173, 0.03), rgba(142, 68, 173, 0.03) 10px, rgba(46, 204, 113, 0.03) 10px, rgba(46, 204, 113, 0.03) 20px);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

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

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Generator Section */
.generator {
    padding: 100px 0;
    position: relative;
    background-color: var(--dark);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 80px;
    height: 3px;
    background: var(--gradient);
    transform: translateX(-50%);
}

.section-title p {
    color: var(--gray);
    max-width: 600px;
    margin: 15px auto 0;
}

.generator-wrapper {
    background-color: rgba(18, 18, 18, 0.7);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(142, 68, 173, 0.1);
    margin-bottom: 60px;
}

.generator-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.generator-option {
    background: rgba(10, 10, 10, 0.5);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(46, 204, 113, 0.1);
}

.generator-option:hover {
    transform: translateY(-5px);
}

.generator-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient);
}

.generator-title {
    margin-bottom: 10px;
}

.generator-text {
    color: var(--gray);
    font-size: 0.95rem;
}

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

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
}

.features .container {
    position: relative;
}

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

.feature-card {
    background-color: rgba(18, 18, 18, 0.7);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(46, 204, 113, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(142, 68, 173, 0.3);
}

.feature-icon {
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    margin-bottom: 15px;
    color: var(--light);
}

.feature-text {
    color: var(--gray);
}

/* Examples Section */
.examples {
    padding: 100px 0;
    background-color: var(--dark);
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.example-card {
    background-color: rgba(18, 18, 18, 0.7);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.example-card:hover {
    transform: translateY(-8px);
}

.example-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, rgba(142, 68, 173, 0.1), rgba(46, 204, 113, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.example-placeholder::before {
    content: "AI Generated Image";
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    font-weight: 600;
}

.example-info {
    padding: 20px;
}

.example-title {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.example-text {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.example-meta {
    display: flex;
    justify-content: space-between;
    color: var(--gray);
    font-size: 0.85rem;
}

/* Steps Section */
.steps {
    padding: 100px 0;
    background-color: var(--darker);
    position: relative;
}

.steps .container {
    position: relative;
}

.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background-color: rgba(18, 18, 18, 0.7);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow);
    border: 1px solid rgba(142, 68, 173, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-title {
    margin-top: 15px;
    margin-bottom: 15px;
}

.step-text {
    color: var(--gray);
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--darker);
    position: relative;
    text-align: center;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(45deg, rgba(142, 68, 173, 0.03), rgba(142, 68, 173, 0.03) 10px, rgba(46, 204, 113, 0.03) 10px, rgba(46, 204, 113, 0.03) 20px);
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta-box {
    background-color: rgba(18, 18, 18, 0.8);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(46, 204, 113, 0.1);
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.cta-text {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Footer */
.footer {
    background-color: var(--dark);
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-about p {
    color: var(--gray);
    margin-top: 20px;
}

.footer-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: var(--gray);
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: var(--secondary);
}

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

.footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .hero {
        padding: 150px 0 80px;
    }
    .generator-wrapper {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--dark);
        box-shadow: var(--shadow);
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .nav.active {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-link {
        padding: 15px 20px;
        display: block;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .hero {
        padding: 120px 0 60px;
    }
    .section-title h2 {
        font-size: 1.8rem;
    }
    .cta-title {
        font-size: 1.8rem;
    }
    .generator-wrapper {
        padding: 20px;
    }
}
