/* 
* Main Stylesheet for freepornaichat.site
* A modern, clean design with teal and coral accents
*/

:root {
    /* Color scheme */
    --primary: #FF6B6B;
    --secondary: #4ECDC4;
    --dark: #1A535C;
    --light: #F7FFF7;
    --gray: #696969;
    --gradient: linear-gradient(135deg, var(--primary) 0%, #FF8E8E 100%);
    
    /* Typography */
    --font-main: 'Poppins', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Effects */
    --border-radius: 8px;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

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

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

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

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

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

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--space-md);
}

h2 span {
    color: var(--primary);
    position: relative;
}

h2 span::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: rgba(255, 107, 107, 0.2);
    bottom: 5px;
    left: 0;
    z-index: -1;
    border-radius: 4px;
}

p {
    margin-bottom: var(--space-sm);
}

section {
    padding: var(--space-lg) 0;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: white;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

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

.logo h1 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--dark);
    font-weight: 700;
}

.logo-icon {
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-md);
}

.main-nav ul li a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

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

/* Hero Section */
.hero {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, #F7FFF7 0%, #E6FFF8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(78, 205, 196, 0.1);
    top: -150px;
    left: -150px;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: rgba(255, 107, 107, 0.1);
    bottom: -100px;
    right: -100px;
    z-index: 0;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 3rem;
    text-align: left;
    margin-bottom: var(--space-sm);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    max-width: 500px;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* About Section */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.about-text {
    flex: 1;
}

.about-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Features Section */
.features {
    background-color: #F0FFF8;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.05) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
}

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

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: var(--space-md);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin: 0 auto var(--space-sm);
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    margin-bottom: var(--space-xs);
    color: var(--primary);
}

/* Chat Preview Section */
.chat-preview {
    background-color: white;
}

.chat-content {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.chat-interface {
    flex: 2;
    background-color: #F8F9FA;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.chat-header {
    background-color: var(--primary);
    color: white;
    padding: 1rem;
    text-align: center;
}

.chat-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.chat-messages {
    padding: var(--space-sm);
    height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
}

.message.ai {
    justify-content: flex-start;
}

.message.user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 70%;
    padding: 0.8rem 1rem;
    border-radius: 18px;
}

.message.ai .message-bubble {
    background-color: #E9ECEF;
    border-top-left-radius: 4px;
}

.message.user .message-bubble {
    background-color: var(--secondary);
    color: white;
    border-top-right-radius: 4px;
}

.chat-input {
    padding: var(--space-sm);
    text-align: center;
}

.chat-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item span {
    font-weight: 500;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: var(--space-lg) 0 var(--space-sm);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-md);
}

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

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-nav h4,
.footer-legal h4 {
    color: var(--secondary);
    margin-bottom: var(--space-xs);
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
}

.footer-nav ul li,
.footer-legal ul li {
    margin-bottom: 0.5rem;
}

.footer-nav ul li a,
.footer-legal ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav ul li a:hover,
.footer-legal ul li a:hover {
    color: white;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-sm);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media screen and (max-width: 992px) {
    :root {
        --space-xl: 6rem;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .chat-content {
        flex-direction: column;
    }
    
    .about-graphic,
    .chat-features {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    :root {
        --space-lg: 3rem;
        --space-xl: 5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: var(--box-shadow);
        padding: var(--space-sm) 0;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav ul li {
        margin: 0;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .main-nav ul li a {
        display: block;
        padding: var(--space-sm);
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-content h2 {
        text-align: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        gap: var(--space-md);
        width: 100%;
    }
    
    .footer-nav,
    .footer-legal {
        flex: 1;
    }
}

@media screen and (max-width: 576px) {
    :root {
        --space-md: 1.5rem;
        --space-lg: 2.5rem;
        --space-xl: 4rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
