* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ============ ОСНОВЕН КОНТЕЙНЕР ============ */
.askthia-container {
    position: relative;
    z-index: 2;
    max-width: 82%;
    margin: 0 auto;
    padding: 60px 46px;
	padding-top: 10px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4) 0%, rgba(118, 75, 162, 0.4) 100%);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.14);
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ ЛОГО СЕКЦИЯ - НАЧАЛНО СЪСТОЯНИЕ ============ */
.askthia-logo-section {
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.askthia-logo-img {
    width: 150px;
    height: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header */
.askthia-header {
    text-align: center;
    margin-bottom: 36px;
}

.askthia-logo {
    font-size: 50px;
    font-weight: 300;
    letter-spacing: -2px;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.askthia-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #a5b4fc, #c4b5fd);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 6px 20px rgba(165, 180, 252, 0.35);
}

.askthia-logo span:last-child {
    font-weight: 700;
    color: #6d28d9;
}

.askthia-subtitle {
    color: #fff;
    margin-top: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* ============ ТЪРСАЧКА СЕКЦИЯ - НАЧАЛНО СЪСТОЯНИЕ ============ */
.askthia-search-section {
    width: 100%;
    max-width: 1000px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mode Selector */
.askthia-mode-selector {
    display: flex;
    gap: 15px;
    margin: 5px 0 10px 0;
}

.askthia-mode-btn {
    padding: 3px 15px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    opacity: 0.5;
}

.askthia-mode-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    opacity: 0.8;
}

.askthia-mode-btn.active {
    background: rgba(255, 255, 255, 0.35);
    border-color: white;
    opacity: 1;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Search */
.askthia-search-box {
    margin-bottom: 28px;
}

.askthia-input-wrapper {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
}

.askthia-input-wrapper:focus-within {
    border-color: #a78bfa;
    box-shadow: 0 12px 35px rgba(167, 139, 250, 0.25);
}

.askthia-input {
    flex: 1;
    padding: 19px 24px;
    font-size: 16.5px;
    border: none !important;
    outline: none;
}

.askthia-btn {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    border: none;
    padding: 0 34px;
    font-weight: 600;
    cursor: pointer;
}

/* ============ КОМПАКТНО СЪСТОЯНИЕ (СЛЕД ТЪРСЕНЕ) ============ */
.askthia-container.compact {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    padding: 20px 46px 40px;
    min-height: auto;
}

.askthia-container.compact .askthia-logo-section {
    margin-bottom: 0;
    flex-shrink: 0;
    text-align: left;
}

.askthia-container.compact .askthia-logo-img {
    width: 100px;
}

.askthia-container.compact .askthia-subtitle {
    display: none;
}

.askthia-container.compact .askthia-search-section {
    flex: 1;
    max-width: none;
}

.askthia-container.compact .askthia-search-box {
    margin-bottom: 0;
}

.askthia-container.compact .askthia-mode-selector {
    margin: 5px 0;
}

/* ============ РЕЗУЛТАТИ ============ */
.askthia-result {
    display: none;
    background: #fff;
    border-radius: 7px;
    padding: 34px;
    margin-top: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    line-height: 1.8;
    color: #2c2c2c;
    font-size: 18px;
    max-width: 82%;
    margin: 0 auto;
}

.askthia-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.askthia-product-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(208, 208, 208, 0.3);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    width: 90%;
}

.askthia-product-card:hover {
    transform: translateY(-5px);
}

.askthia-product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.askthia-product-info {
    padding: 15px;
    color: #333333;
}

.askthia-product-title {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 10px;
}

.askthia-product-desc {
    font-size: 16px;
    color: #333333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.askthia-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.askthia-product-price {
    font-size: 18px;
    font-weight: bold;
    color: #4CAF50;
}

.askthia-product-link {
    padding: 5px 15px;
    background: #949494;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 13px;
    transition: background 0.3s;
}

.askthia-product-link:hover {
    background: #b6b4b4;
}

.askthia-result.show {
    display: block;
}

/* ============ LOADING ============ */
.askthia-loading {
    padding: 60px 20px;
    text-align: center;
    color: #64748b;
}

/* ============ DOTS ============ */
.askthia-dots {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.askthia-dot {
    width: 8px;
    height: 8px;
    background: rgba(139, 92, 246, 0.35);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.4s;
}

.askthia-dot.active {
    background: #8b5cf6;
    width: 32px;
    border-radius: 6px;
}

/* ============ СКЕНЕР АНИМАЦИЯ ============ */
.scan-line {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-bottom: 15px;
}

.scan-dot {
    width: 8px;
    height: 8px;
    background: rgba(139, 92, 246, 0.35);
    border-radius: 50%;
    animation: scanWave 2.5s ease-in-out infinite;
}

.scan-dot:nth-child(1) { animation-delay: 0s; }
.scan-dot:nth-child(2) { animation-delay: 0.5s; }
.scan-dot:nth-child(3) { animation-delay: 1.0s; }
.scan-dot:nth-child(4) { animation-delay: 1.5s; }
.scan-dot:nth-child(5) { animation-delay: 2.0s; }

@keyframes scanWave {
    0%, 100% {
        width: 8px;
        border-radius: 50%;
        background: rgba(139, 92, 246, 0.35);
    }
    20% {
        width: 32px;
        border-radius: 6px;
        background: #8b5cf6;
    }
    40% {
        width: 8px;
        border-radius: 50%;
        background: rgba(139, 92, 246, 0.35);
    }
}

/* ============ SOURCES ============ */
.askthia-sources {
    margin-top: 20px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    font-size: 14px;
    color: #666;
}

.askthia-sources a {
    color: #7c3aed;
    text-decoration: none;
}

.askthia-sources a:hover {
    text-decoration: underline;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .askthia-container {
        padding: 20px;
    }
    
    .askthia-container.compact {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    
    .askthia-container.compact .askthia-logo-img {
        width: 40px;
    }
    
    .askthia-input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .askthia-btn {
        padding: 0 20px;
        font-size: 14px;
    }
}