/* 
* aipornchatbot.love Styles
* Modern, responsive design with SEO optimization
*/

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

:root {
    --primary: #6200EA;
    --primary-light: #B388FF;
    --primary-dark: #4A148C;
    --secondary: #FF4081;
    --secondary-light: #FF80AB;
    --secondary-dark: #C51162;
    --background: #FAFAFA;
    --background-alt: #F0F0F0;
    --text: #212121;
    --text-light: #757575;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
}

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

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.alt-bg {
    background-color: var(--background-alt);
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.4rem;
}

.logo-svg {
    margin-right: 0.75rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--white);
    bottom: -4px;
    left: 0;
    transition: var(--transition);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 4rem 0 6rem;
    align-items: center;
}

.hero-content {
    padding-left: 1.5rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--white);
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-illustration {
    max-height: 400px;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button:hover {
    background: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.cta-button.large {
    font-size: 1.3rem;
    padding: 1rem 2.5rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 64, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 64, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 64, 129, 0);
    }
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    margin: 0 auto 1rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(98, 0, 234, 0.1);
    border-radius: 50%;
    padding: 1rem;
}

/* How It Works Section */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* Testimonials Section */
.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.testimonial {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
}

.quote {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: -1rem;
    top: -1.5rem;
    color: var(--primary-light);
    opacity: 0.3;
}

.author {
    font-weight: 600;
    color: var(--primary);
    text-align: right;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

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

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

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

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

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

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

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: #212121;
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h3 {
    color: var(--white);
    margin: 1rem 0 0.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

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

.footer-column a:hover {
    color: var(--white);
}

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

/* Animated elements */
.data-point {
    animation: moveData 4s infinite linear;
}

.data-point:nth-child(2) {
    animation-delay: 1s;
}

.data-point:nth-child(3) {
    animation-delay: 2s;
}

.data-point:nth-child(4) {
    animation-delay: 3s;
}

@keyframes moveData {
    0% {
        opacity: 0;
        transform: translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(20px, 20px);
    }
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 1rem;
    }
    
    .steps {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--primary-dark);
        padding: 1.5rem;
        gap: 1.5rem;
        z-index: 10;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .features-grid,
    .steps,
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        flex-direction: column;
    }
    
    .testimonial {
        max-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-links {
        justify-content: space-between;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .footer-links {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    header, footer, .cta-section {
        background: none;
        color: black;
    }
    
    .cta-button, .feature-card, .step, .testimonial, .faq-item {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .nav-links, .hamburger {
        display: none;
    }
}
