/* 
 * Main styles for freeaipornimagegenerator.pw 
 * Modern gold/navy theme with distinctive step-based layout
 */

:root {
    --primary: #ffbe0b;
    --primary-dark: #fb8500;
    --secondary: #fb5607;
    --dark: #2b2d42;
    --light: #edf2f4;
    --gray: #8d99ae;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #ffbe0b, #fb5607);
    --shadow-sm: 0 2px 10px rgba(43, 45, 66, 0.1);
    --shadow-md: 0 4px 20px rgba(43, 45, 66, 0.15);
    --shadow-lg: 0 8px 30px rgba(43, 45, 66, 0.2);
    --border-radius-sm: 5px;
    --border-radius-md: 10px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', sans-serif;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--dark);
    opacity: 0.8;
}

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: var(--secondary);
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--primary);
    opacity: 0.3;
    z-index: -1;
}

.badge {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--secondary);
}

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

.nav-cta {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--dark);
    margin: 6px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
}

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

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

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

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

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

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
    background-color: var(--white);
}

.hero-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: var(--light);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-text {
    font-size: 0.9rem;
    color: var(--gray);
}

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

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--light);
}

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

.about-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.about-card:hover::before {
    transform: scaleX(1);
}

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

.about-card h3 {
    margin-bottom: 1rem;
}

.about-card p {
    margin-bottom: 0;
}

/* Features Section */
.features {
    padding: 7rem 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.section-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(var(--secondary) 2px, transparent 2px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

.features-wrapper {
    display: flex;
    align-items: center;
    gap: 5rem;
    position: relative;
    z-index: 1;
}

.features-content {
    flex: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    gap: 2rem;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.5;
    line-height: 1;
}

.feature-info {
    flex: 1;
}

.feature-info h3 {
    margin-bottom: 1rem;
}

.feature-info p {
    margin-bottom: 0;
}

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

/* Generator Section */
.generator {
    padding: 6rem 0;
    background-color: var(--light);
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 4rem 0;
}

.step-item {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
}

.step-icon {
    margin: 0 auto 2rem;
    width: 80px;
    height: 80px;
}

.step-item h3 {
    margin-bottom: 1rem;
}

.step-item p {
    max-width: 300px;
    margin: 0 auto;
}

.step-connector {
    flex: 0 0 50px;
    height: 3px;
    background: var(--gradient);
    margin-top: 40px;
    position: relative;
}

.step-connector::before, .step-connector::after {
    content: '';
    position: absolute;
    top: -3.5px;
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    border-radius: 50%;
}

.step-connector::before {
    left: 0;
}

.step-connector::after {
    right: 0;
}

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

.generator-cta p {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: var(--white);
}

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

.faq-item {
    background-color: var(--light);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.faq-item h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    position: relative;
    padding-left: 1.5rem;
}

.faq-item h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary);
}

.faq-item p {
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 2px, transparent 2px);
    background-size: 30px 30px;
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta p {
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

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

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

.footer-branding {
    flex: 1;
    max-width: 400px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-branding p {
    color: var(--gray);
    opacity: 1;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

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

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

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

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

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

.footer-favicon {
    margin-bottom: 1rem;
}

.footer-bottom p {
    color: var(--gray);
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* Media Queries */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .hero .container {
        flex-direction: column-reverse;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-wrapper {
        flex-direction: column-reverse;
        gap: 3rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .steps-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .step-connector {
        width: 3px;
        height: 30px;
        margin: 0 auto;
    }
    
    .step-connector::before, .step-connector::after {
        left: -3.5px;
        width: 10px;
        height: 10px;
    }
    
    .step-connector::before {
        top: 0;
    }
    
    .step-connector::after {
        top: auto;
        bottom: 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 13px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}
