/* 
   aipornfree.beauty Styles
   A modern, responsive design with gradient accents
*/

:root {
    --primary: #FF416C;
    --secondary: #FF4B2B;
    --dark: #222222;
    --light: #ffffff;
    --grey: #f5f5f5;
    --text: #333333;
    --text-light: #777777;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --gradient: linear-gradient(to right, var(--primary), var(--secondary));
    --radius: 10px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

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

h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

section {
    padding: 80px 0;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
    cursor: pointer;
}

.btn.primary {
    background: var(--gradient);
    color: var(--light);
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.3);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 65, 108, 0.4);
}

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

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

.btn.large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

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

.logo span {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    gap: 30px;
}

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

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

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

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

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

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--gradient);
    border-radius: 3px;
    transition: var(--transition);
    left: 0;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 180%;
    background: linear-gradient(45deg, rgba(255, 65, 108, 0.03) 0%, rgba(255, 75, 43, 0.03) 100%);
    transform: rotate(-10deg);
    z-index: -1;
}

.hero-content {
    max-width: 550px;
    text-align: left;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.hero-image {
    margin-left: 40px;
    flex-shrink: 0;
}

/* Cards Section */
.about {
    background-color: var(--grey);
    position: relative;
    overflow: hidden;
}

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

.card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 40px 25px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient);
    opacity: 0.05;
    transition: var(--transition);
    z-index: -1;
}

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

.card:hover::before {
    height: 100%;
}

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

.card h3 {
    margin-bottom: 15px;
}

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

/* Generate Section */
.generate {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 65, 108, 0.05) 0%, rgba(255, 75, 43, 0.05) 100%);
}

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

.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
    background: var(--light);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

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

.step-text h3 {
    margin-bottom: 5px;
}

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

.cta-center {
    margin-top: 40px;
}

/* FAQ Section */
.faq {
    background-color: var(--light);
}

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

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: var(--grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

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

.toggle-icon {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--primary);
    transition: var(--transition);
}

.faq-question:hover {
    background: linear-gradient(45deg, rgba(255, 65, 108, 0.05) 0%, rgba(255, 75, 43, 0.05) 100%);
}

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

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

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

/* CTA Section */
.cta {
    background: var(--gradient);
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 70%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(20deg);
}

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

.cta h2, .cta p {
    color: var(--light);
}

.cta h2::after {
    background: var(--light);
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

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

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

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--light);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.link-group h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient);
}

.link-group ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-group a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 0 40px;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .hero-image {
        margin-left: 0;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        align-items: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 25px;
    }
    
    .btn.large {
        padding: 12px 30px;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}
