/* Temel Ayarlar & Karanlık Tema */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0b0f19;
    color: #e2e8f0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Cam Efekti */
.main-header {
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #00f3ff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: #00f3ff;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}

/* Hero Section & Neon Arka Plan Blobları */
.hero-section {
    padding: 100px 0;
    position: relative;
    background: #0b0f19;
    color: #ffffff;
    overflow: hidden;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.5;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 243, 255, 0.2);
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: rgba(139, 92, 246, 0.2);
    bottom: -50px;
    right: -50px;
}

.hero-container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 46px;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(90deg, #00f3ff, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: #94a3b8;
}

/* =========================================
   YÜZEN CHAT ARAYÜZÜ (SABİT EKRAN WIDGETI) 
   ========================================= */
.chat-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent; /* Arka plan şeffaf yapıldı */
    color: #fff;
    font-size: 28px;
    border: none;
    cursor: pointer;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
    animation: ai-pulse 2s infinite;
}

@keyframes ai-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(0, 243, 255, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0);
        transform: scale(1);
    }
}

.chat-wrapper {
    position: fixed; 
    bottom: 100px;
    right: 30px;
    width: 380px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    color: #e2e8f0;
    text-align: left;
    z-index: 999999;
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-hidden {
    opacity: 0;
    transform: scale(0.5) translateY(50px);
    pointer-events: none;
    visibility: hidden;
}

.chat-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px 16px 0 0;
}

.chat-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.chat-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
}

.chat-close-btn:hover {
    color: #fff;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: #00f3ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00f3ff;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 243, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 243, 255, 0); }
}

.chat-body {
    height: 350px;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scroll-behavior: smooth;
}

.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.02); }
.chat-body::-webkit-scrollbar-thumb { background: rgba(0, 243, 255, 0.3); border-radius: 10px; }

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    white-space: pre-wrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.bot-message {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: #cbd5e1;
}

.user-message {
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 16px 16px;
}

.chat-footer input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s;
    min-width: 0;
}

.chat-footer input:focus {
    border-color: #00f3ff;
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.2);
}

.chat-footer button {
    background: #00f3ff;
    color: #0b0f19;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.chat-footer button:hover {
    background: #ffffff;
    transform: translateY(-2px);
}

/* Typing Dots Animasyonu */
.typing-dots {
    display: flex;
    gap: 5px;
    align-items: center;
    height: 20px;
}

.typing-dots span {
    display: block;
    width: 6px;
    height: 6px;
    background: #00f3ff;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}
.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); box-shadow: 0 0 8px #00f3ff; }
}

/* Bölüm Tasarımları (Demolar ve Paketler) */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #f8fafc;
}

.section-title p {
    color: #94a3b8;
    font-size: 18px;
}

.demos-section, .pricing-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.demo-grid, .pricing-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cam Efektli Kartlar */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 243, 255, 0.3);
}

.glass-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #e2e8f0;
}

.glass-card p {
    margin-bottom: 25px;
    color: #94a3b8;
}

/* Neon Butonlar */
.neon-btn {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #00f3ff;
    color: #00f3ff;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    background: rgba(0, 243, 255, 0.05);
}

.neon-btn:hover {
    background: #00f3ff;
    color: #0b0f19;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.5);
}

/* Fiyatlandırma Kartı Özel */
.featured-glass {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
    background: rgba(139, 92, 246, 0.05);
}

.pricing-card .price {
    font-size: 24px;
    font-weight: 700;
    color: #00f3ff;
    margin-bottom: 5px;
}

.pricing-card .price span {
    font-size: 14px;
    color: #64748b;
    font-weight: 400;
}

.pricing-card .subtitle {
    font-size: 14px;
    color: #8b5cf6;
    margin-bottom: 20px;
    font-weight: 600;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-top: 25px;
}

.pricing-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #cbd5e1;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-card ul li::before {
    content: '✔';
    color: #00f3ff;
    font-size: 12px;
}

/* Footer */
.main-footer {
    background: rgba(0, 0, 0, 0.3);
    color: #64748b;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* -------------------------------------------
   Mobil Uyumluluk (Responsive Design) 
   ------------------------------------------- */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 12px;
    }
    
    .main-nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-container {
        flex-direction: column !important;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-features {
        width: 100%;
        padding: 20px !important;
    }
    
    /* Mobilde Asistan Baloncuğu Yeri */
    .chat-toggle-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    /* Mobilde Kutu Boyutları */
    .chat-wrapper {
        width: calc(100% - 40px);
        right: 20px;
        bottom: 85px; 
        max-height: 70vh; 
    }

    .demo-grid, .pricing-grid {
        gap: 20px;
    }
    
    .glass-card {
        min-width: 100%; 
        padding: 25px 20px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Asistan Konuşma Baloncuğu (Tooltip) */
.chat-tooltip {
    position: fixed;
    bottom: 95px;
    right: 35px;
    background: rgba(15, 23, 42, 0.95);
    color: #e2e8f0;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5), 0 0 10px rgba(0, 243, 255, 0.1);
    font-size: 13px;
    z-index: 999998;
    max-width: 250px;
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
    pointer-events: none;
}

.chat-tooltip.hidden {
    opacity: 0;
    transform: translateY(15px);
}

.chat-tooltip::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: rgba(15, 23, 42, 0.95);
    border-right: 1px solid rgba(0, 243, 255, 0.3);
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
    transform: rotate(45deg);
}