/* 
   aiporn-chatbot.site Styles
   Modern, responsive design with gradient accents
*/

:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --text-color: #333333;
    --light-text: #ffffff;
    --background: #ffffff;
    --light-background: #f8f8f8;
    --border-color: #e0e0e0;
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --container-width: 1200px;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background);
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

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

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

.highlight {
    color: var(--primary-color);
}

section {
    padding: 80px 0;
}

/* Header */
header {
    background-color: var(--background);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

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

.logo {
    margin-right: 10px;
}

header h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 30px;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
}

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

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    background-color: var(--light-background);
    overflow: hidden;
}

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

.hero-content {
    width: 50%;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-visual {
    width: 50%;
}

.hero-image {
    width: 100%;
    height: auto;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--gradient);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
    color: var(--light-text);
}

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

.cta-button.secondary:hover {
    background: var(--gradient);
    color: var(--light-text);
}

.cta-container {
    text-align: center;
    margin-top: 40px;
}

/* Features Section */
.features {
    background-color: var(--background);
}

.features h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 60px;
}

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

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

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

.feature-icon {
    margin-bottom: 20px;
}

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

/* How It Works */
.how-it-works {
    background-color: var(--light-background);
    text-align: center;
}

.how-it-works h2 {
    font-size: 2.4rem;
    margin-bottom: 60px;
}

.steps {
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
}

.step {
    width: 30%;
    position: relative;
}

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

/* Experience Section */
.experience {
    background-color: var(--background);
}

.experience h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 60px;
}

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

.experience-text {
    width: 55%;
}

.experience-visual {
    width: 40%;
}

.experience-image {
    width: 100%;
    height: auto;
}

.experience-list {
    margin: 20px 0 30px 20px;
}

.experience-list li {
    margin-bottom: 10px;
    position: relative;
}

.experience-list li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* FAQ Section */
.faq {
    background-color: var(--light-background);
}

.faq h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 60px;
}

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

.faq-item {
    margin-bottom: 30px;
    background-color: var(--background);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-item p {
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: #222;
    color: var(--light-text);
    padding: 60px 0 20px;
}

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

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

.footer-logo p {
    margin-left: 10px;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
}

.footer-column {
    margin-left: 60px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ccc;
}

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

.copyright {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #aaa;
}

.copyright p {
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 2.4rem;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        width: 80%;
        margin-bottom: 40px;
    }
    
    .experience-content {
        flex-direction: column;
    }
    
    .experience-text, .experience-visual {
        width: 100%;
    }
    
    .experience-visual {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    header .container {
        padding: 10px 20px;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav li {
        margin: 15px 0;
        margin-left: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-visual {
        width: 100%;
    }
    
    .hero-visual {
        margin-top: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 30px;
    }
    
    .footer-column {
        margin-left: 0;
        margin-right: 30px;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .step {
        width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
}
