/* 
 * freeaipornreddit.pw - Main Stylesheet
 * Modern Purple-themed Design with Contemporary Layout
 */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

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

:root {
    /* Color Palette - Unique Purple Theme */
    --primary: #8A2BE2;         /* Blueviolet */
    --secondary: #4B0082;       /* Indigo */
    --accent: #FF3366;          /* Hot Pink */
    --accent-secondary: #FF9500; /* Orange */
    --dark: #121212;            /* Near Black */
    --darker: #080808;          /* Deeper Black */
    --light: #f8f8f8;           /* Off White */
    --mid-gray: #A0A0A0;        /* Mid Gray */
    --card-bg: #1A1A1A;         /* Card Background */
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Roboto', sans-serif;
    
    /* Sizes */
    --container-width: 1200px;
    --radius: 8px;
    --radius-lg: 15px;
}

html {
    font-size: 62.5%; /* For easy rem calculations - 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--light);
    background-color: var(--darker);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

h1 {
    font-size: 4.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

h2 {
    font-size: 3.6rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

.highlight {
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Section Styling */
.section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 5rem;
}

.text-center {
    text-align: center;
}

.section-title {
    position: relative;
    display: inline-block;
}

.section-title.centered {
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 6rem;
    height: 0.4rem;
    background: linear-gradient(to right, var(--accent), var(--primary));
    border-radius: 0.2rem;
}

.section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-description {
    font-size: 1.8rem;
    color: var(--mid-gray);
    max-width: 80rem;
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.6rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(138, 43, 226, 0.35);
    color: var(--light);
}

.btn-large {
    padding: 1.8rem 3.6rem;
    font-size: 1.8rem;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    color: var(--light);
    box-shadow: 0 4px 12px rgba(255, 51, 102, 0.25);
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 51, 102, 0.35);
    color: var(--light);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
}

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

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

.logo-text {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--light);
}

.logo-text .highlight {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-img {
    height: 4rem;
    width: auto;
}

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

nav ul li a {
    position: relative;
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 1.5rem;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 0;
    height: 0.2rem;
    background: linear-gradient(to right, var(--accent), var(--primary));
    transition: width 0.3s ease;
}

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

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

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 900;
}

/* Hero Section */
.hero {
    padding: 20rem 0 12rem;
    background-color: var(--dark);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(138, 43, 226, 0.15), transparent 70%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -5rem;
    left: -5rem;
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    background: rgba(255, 51, 102, 0.1);
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-title {
    margin-bottom: 2rem;
    max-width: 80rem;
}

.hero-description {
    font-size: 2.2rem;
    margin-bottom: 4rem;
    color: var(--mid-gray);
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

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

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

.feature-card {
    background-color: var(--card-bg);
    padding: 4rem 3rem;
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(138, 43, 226, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.05), rgba(75, 0, 130, 0.05));
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(138, 43, 226, 0.2);
}

.feature-icon {
    width: 7rem;
    height: 7rem;
    margin-bottom: 2.5rem;
}

.feature-title {
    margin-bottom: 1.5rem;
    color: var(--light);
    font-size: 2.2rem;
}

.feature-description {
    color: var(--mid-gray);
    font-size: 1.6rem;
}

/* About Section */
.about-section {
    background-color: var(--dark);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 3rem;
}

.about-text p {
    margin-bottom: 2rem;
    color: var(--mid-gray);
}

.about-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-svg {
    max-width: 100%;
    height: auto;
}

/* Gallery Section */
.gallery {
    background-color: var(--darker);
    position: relative;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 16 / 9;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.gallery-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-svg {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 2rem;
    background: linear-gradient(to top, rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0));
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-title {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.gallery-description {
    color: var(--mid-gray);
    font-size: 1.4rem;
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    background-color: var(--dark);
    position: relative;
}

.faq-container {
    max-width: 80rem;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    border-radius: var(--radius);
    background-color: var(--card-bg);
    overflow: hidden;
    border-left: 3px solid var(--primary);
}

.faq-question {
    padding: 2.5rem;
    cursor: pointer;
    position: relative;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question::after {
    content: '+';
    font-size: 2.4rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 50rem;
}

.faq-answer-content {
    padding: 0 2.5rem 2.5rem;
    color: var(--mid-gray);
}

/* CTA Section */
.cta {
    padding: 10rem 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(75, 0, 130, 0.1));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -10rem;
    right: -10rem;
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    background: rgba(255, 51, 102, 0.05);
    z-index: 0;
}

.cta-content {
    max-width: 70rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

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

.cta-description {
    font-size: 2rem;
    color: var(--mid-gray);
    margin-bottom: 4rem;
}

/* Footer */
.footer {
    background-color: var(--darker);
    padding: 8rem 0 2rem;
    color: var(--mid-gray);
    position: relative;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 6rem;
    margin-bottom: 6rem;
}

.footer-about {
    max-width: 35rem;
}

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

.footer-logo-img {
    height: 5rem;
    width: auto;
}

.footer-logo-text {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--light);
}

.footer-about p {
    margin-bottom: 2.5rem;
}

.footer-heading {
    color: var(--light);
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 3rem;
    height: 0.2rem;
    background: var(--accent);
}

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

.footer-links li {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--mid-gray);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 0.5rem;
}

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

.footer-copyright {
    font-size: 1.4rem;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}

.pulse {
    animation: pulse 3s ease-in-out infinite;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .section {
        padding: 7rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-image {
        grid-row: 1;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    h1 {
        font-size: 3.8rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -30rem;
        width: 30rem;
        height: 100vh;
        background-color: var(--dark);
        padding: 10rem 3rem 3rem;
        transition: right 0.3s ease;
        z-index: 950;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
    }
    
    .overlay.active {
        display: block;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 52%;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.6rem;
    }
    
    .features-grid, .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: 6rem 0;
    }
    
    .hero {
        padding: 15rem 0 8rem;
    }
}
