/*
Theme Name: Tarih Chatbot Landing
Theme URI: https://test.turkclouds.com
Description: Modern landing page theme for Tarih Chatbot WordPress plugin. Dark theme with gradients and smooth animations.
Author: Yedikıta
Author URI: https://yedikita.com.tr
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tarih-chatbot
Tags: dark, one-page, modern, chatbot, landing-page
*/

* {
    box-sizing: border-box;
}

/* Reset WordPress defaults */
body, h1, h2, h3, p, a {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%) !important;
    color: #e5e5e5 !important;
    overflow-x: hidden !important;
    min-height: 100vh !important;
}

/* WordPress overrides */
body.home,
body.page {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%) !important;
}

#page,
.site,
.site-content,
main {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* WordPress admin bar fix */
body.admin-bar .hero {
    margin-top: 32px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 20px;
    background: radial-gradient(circle at 50% 50%, rgba(31, 41, 55, 0.3) 0%, transparent 50%);
}

.hero-content {
    max-width: 1200px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease;
}

.hero h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero p {
    font-size: 24px;
    color: #9ca3af;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #374151;
}

.btn-secondary:hover {
    border-color: #1f2937;
    background: #1f2937;
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: #0a0a0a;
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #9ca3af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #2d2d2d;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #374151;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #fff;
}

.feature-card p {
    color: #9ca3af;
    line-height: 1.6;
}

/* Demo Section */
.demo {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.demo-container {
    max-width: 900px;
    margin: 0 auto;
}

.demo-preview {
    background: #000;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #2d2d2d;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2d2d2d;
}

.demo-header h3 {
    font-size: 20px;
    color: #fff;
}

.demo-messages {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.demo-message {
    padding: 16px 20px;
    border-radius: 12px;
    max-width: 80%;
    animation: slideIn 0.5s ease;
}

.demo-message.user {
    background: #1f2937;
    align-self: flex-end;
    margin-left: auto;
}

.demo-message.bot {
    background: #0f1419;
    align-self: flex-start;
    border: 1px solid #2d2d2d;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 18px;
    }
    .section-title {
        font-size: 32px;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .btn {
        width: 100%;
    }
}
