/*
   pornchatai.site Styles
   Red and Black Theme - Unique design different from previous sites
*/

/* Root Variables */
:root {
    --primary: #E53935; /* Red */
    --secondary: #212121; /* Near Black */
    --accent: #FF5252; /* Lighter Red */
    --dark: #121212;
    --light: #F5F5F5;
    --background: #FAFAFA;
    --text: #333333;
    --gradient: linear-gradient(135deg, #E53935, #FF5252);
    --box-shadow: 0 10px 30px rgba(229, 57, 53, 0.15);
    --card-bg: rgba(255, 255, 255, 0.95);
    --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: 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--background);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

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

h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 4px;
}

h3 {
    font-size: 1.75rem;
    color: var(--primary);
}

h4 {
    font-size: 1.25rem;
    color: var(--secondary);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text);
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
    font-size: 1rem;
    margin: 0.5rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(229, 57, 53, 0.4);
    color: white;
    background: var(--accent);
}

.btn-dark {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(33, 33, 33, 0.3);
}

.btn-dark:hover {
    background: var(--dark);
    color: white;
    box-shadow: 0 10px 25px rgba(33, 33, 33, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px rgba(229, 57, 53, 0.3);
}

.btn-large {
    padding: 18px 35px;
    font-size: 1.1rem;
}

/* Header */
header {
    background: var(--secondary);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

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

.logo-text {
    color: white;
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-weight: bold;
    font-size: 24px;
    margin-left: 10px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 2.5rem;
}

nav ul li a {
    color: white;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    font-size: 1.1rem;
}

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

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--primary);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
    border-radius: 3px;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: var(--transition);
}

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

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(229, 57, 53, 0.2), transparent);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    flex: 0 0 55%;
    max-width: 600px;
}

.hero h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
}

.hero-image {
    flex: 0 0 40%;
    position: relative;
}

/* Chat Preview Section */
.chat-preview {
    padding: 100px 0;
    background-color: var(--background);
    position: relative;
}

.chat-container {
    position: relative;
    z-index: 2;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.chat-header {
    background: var(--secondary);
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
}

.chat-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
}

.chat-body {
    padding: 30px;
    max-height: 400px;
    overflow-y: auto;
}

.message {
    margin-bottom: 20px;
    display: flex;
}

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

.message-content {
    max-width: 70%;
    padding: 15px 20px;
    border-radius: 20px;
    font-size: 1rem;
}

.message.ai .message-content {
    background: var(--secondary);
    color: white;
    border-bottom-left-radius: 5px;
}

.message.user .message-content {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 5px;
}

.chat-input {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
}

.chat-input input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    outline: none;
    font-size: 1rem;
}

.chat-input button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 15px 25px;
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.chat-input button:hover {
    background: var(--accent);
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: white;
}

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

.feature-card {
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: var(--card-bg);
}

.feature-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--primary);
    z-index: -1;
    transition: var(--transition);
}

.feature-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(229, 57, 53, 0.15);
}

.feature-icon {
    margin-bottom: 20px;
    color: var(--primary);
    display: inline-block;
}

.feature-title {
    margin-bottom: 15px;
}

/* Characters Section */
.characters {
    padding: 100px 0;
    background-color: var(--background);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.character-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.character-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(229, 57, 53, 0.2);
}

.character-image {
    width: 100%;
    height: auto;
    border-bottom: 3px solid var(--primary);
}

.character-info {
    padding: 20px;
}

.character-name {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.character-description {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

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

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--secondary);
    color: white;
    text-align: center;
}

.cta h2 {
    color: white;
}

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

.cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: white;
}

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

.faq-item {
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 25px;
    margin-bottom: 20px;
}

.faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: "+";
    color: var(--primary);
    font-size: 1.5rem;
}

.faq-answer {
    margin-bottom: 0;
}

/* Footer */
footer {
    background: var(--secondary);
    color: white;
    padding: 80px 0 20px;
}

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

.footer-brand {
    flex: 0 0 100%;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.footer-logo-text {
    color: white;
    font-weight: bold;
    font-size: 24px;
    margin-left: 10px;
}

.footer-nav-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.footer-nav {
    flex: 1 0 200px;
    margin-bottom: 2rem;
}

.footer-nav h4 {
    color: white;
    margin-bottom: 1.5rem;
}

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

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

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

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

.footer-favicon {
    display: inline-block;
    margin-left: 1rem;
}

/* Media Queries */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .chat-container {
        margin: 0 15px;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .characters-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .characters-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .footer-nav {
        flex: 0 0 100%;
    }
}
