/* 
   pornaichatbot.site - Main Stylesheet
   Blue-purple gradient theme with modern design
*/

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

:root {
    --primary: #6A11CB;
    --secondary: #2575FC;
    --dark: #121028;
    --light: #FFFFFF;
    --gray: #8A8AA3;
    --light-bg: #F5F7FF;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow: 0 10px 30px rgba(106, 17, 203, 0.15);
    --border-radius: 10px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

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

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

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: var(--gradient);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Rubik', sans-serif;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.primary-btn {
    background: var(--gradient);
    color: var(--light);
    border: none;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106, 17, 203, 0.3);
    color: var(--light);
}

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

.secondary-btn:hover {
    background: rgba(106, 17, 203, 0.05);
    color: var(--primary);
}

.btn.large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
}

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

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

.logo span {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-menu a {
    color: var(--dark);
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(106, 17, 203, 0.1) 0%, rgba(37, 117, 252, 0.05) 70%);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 117, 252, 0.1) 0%, rgba(106, 17, 203, 0.05) 70%);
    border-radius: 50%;
    bottom: -250px;
    left: -150px;
    z-index: 0;
}

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

.hero-content {
    flex: 1;
    padding-right: 30px;
}

.hero-content h1 {
    font-size: 3.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-content h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* Features Section */
.features-section {
    background-color: var(--light);
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--light);
    border-radius: var(--border-radius);
    padding: 40px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(106, 17, 203, 0.2);
}

.feature-icon {
    margin: 0 auto 25px;
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Chatbot Section */
.chatbot-section {
    background-color: var(--dark);
    color: var(--light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.chatbot-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(106, 17, 203, 0.2) 0%, rgba(37, 117, 252, 0.2) 100%);
    z-index: 0;
}

.chatbot-section .container {
    position: relative;
    z-index: 1;
}

.chatbot-section .section-header h2 {
    color: var(--light);
}

.chatbot-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.chat-interface {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin: 0 auto;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header h3 {
    margin-bottom: 0;
    color: var(--light);
}

.chat-messages {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

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

.message p {
    padding: 12px 18px;
    border-radius: 18px;
    max-width: 80%;
    line-height: 1.4;
}

.message.bot p {
    background: rgba(106, 17, 203, 0.3);
    border-top-left-radius: 5px;
    align-self: flex-start;
}

.message.user p {
    background: rgba(37, 117, 252, 0.3);
    border-top-right-radius: 5px;
    align-self: flex-end;
}

.generated-preview {
    margin-top: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
}

.generated-preview p {
    text-align: center;
    background: transparent !important;
    padding: 10px 0 0 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.chat-input {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--gradient);
    color: var(--light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-card {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

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

.faq-item {
    margin-bottom: 20px;
    background: var(--light);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(106, 17, 203, 0.02);
}

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

.toggle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
    transition: all 0.3s ease;
}

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

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

.faq-answer p {
    color: var(--gray);
}

/* CTA Section */
.cta-section {
    background: var(--dark);
    color: var(--light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M10 10L90 90M90 10L10 90' stroke='rgba(255,255,255,0.05)' stroke-width='2'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

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

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--light);
    position: relative;
}

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

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 12px;
}

.link-group a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.link-group a:hover {
    color: var(--light);
    padding-left: 5px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-content p {
        margin: 0 auto 35px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-links {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        gap: 0;
        flex-direction: column;
        background-color: var(--light);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .footer-links {
        gap: 40px;
        flex-wrap: wrap;
    }
    
    .link-group {
        flex: 1 1 40%;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
    
    .chat-interface {
        margin: 0 10px;
    }
    
    .message p {
        max-width: 90%;
    }
}
