/* ==============================================
   SIKÇA SORULAN SORULAR - Chat Style FAQ
   Conversational Q&A with progressive reveal
   ============================================== */

/* Main Content */
.sss-main {
    background: linear-gradient(180deg, #0a0a0c 0%, #0d0d10 100%);
    position: relative;
    overflow: hidden;
}

.sss-main::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

.sss-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* ========================================
   INTRO SECTION
   ======================================== */

.sss-intro {
    padding: 6rem 0 3rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.intro-content {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.intro-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.intro-content p {
    font-size: 1.15rem;
    color: var(--yk-text-secondary);
    line-height: 1.7;
}

/* ========================================
   CHAT SECTION
   ======================================== */

.chat-section {
    padding: 2rem 0 5rem;
    position: relative;
    z-index: 1;
}

.chat-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Chat Bubble Base */
.chat-bubble {
    max-width: 85%;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.chat-bubble.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Question (User - Right) */
.chat-question {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(212, 168, 83, 0.2), rgba(212, 168, 83, 0.08));
    border: 1px solid rgba(212, 168, 83, 0.3);
    border-bottom-right-radius: 6px;
    position: relative;
}

.chat-question::after {
    content: '?';
    position: absolute;
    top: -10px;
    right: 20px;
    width: 28px;
    height: 28px;
    background: var(--yk-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
    font-size: 0.9rem;
}

.chat-question p {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Answer (Dekosan - Left) */
.chat-answer {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom-left-radius: 6px;
    position: relative;
}

.chat-answer::before {
    content: 'D';
    position: absolute;
    top: -10px;
    left: 20px;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 0.75rem;
}

.chat-answer p {
    color: var(--yk-text-secondary);
    line-height: 1.8;
    margin: 0;
}

.chat-answer strong {
    color: var(--yk-gold);
}

/* Chat Pair Container */
.chat-pair {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Typing indicator animation for answers */
.chat-answer .typing {
    display: inline-flex;
    gap: 4px;
}

.chat-answer .typing span {
    width: 6px;
    height: 6px;
    background: var(--yk-text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.chat-answer .typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-answer .typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* ========================================
   MORE QUESTIONS CTA
   ======================================== */

.more-questions {
    padding: 5rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.more-questions.visible {
    opacity: 1;
    transform: translateY(0);
}

.more-box {
    background: rgba(212, 168, 83, 0.05);
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 20px;
    padding: 3rem;
}

.more-box h3 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.more-box p {
    color: var(--yk-text-secondary);
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--yk-gold);
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(212, 168, 83, 0.3);
}

/* Back Link */
.back-section {
    padding: 3rem 0 5rem;
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--yk-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--yk-gold);
}

.back-link::before {
    content: '←';
    transition: transform 0.3s ease;
}

.back-link:hover::before {
    transform: translateX(-5px);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .sss-container {
        padding: 0 1.5rem;
    }

    .chat-bubble {
        max-width: 95%;
        padding: 1.25rem 1.5rem;
    }

    .chat-question p {
        font-size: 1rem;
    }

    .more-box {
        padding: 2rem;
    }
}